
public abstract class Figure {
	private double area;
	private double perimeter;
	
	//constructors
	public Figure(double aRadius){
	
	}
	
	public Figure(double aLength, double aWidth){
		area=0;
		perimeter=0;
	}
	
	//accessors
	public double getArea(){
		return area;
	}
	
	public double getPerimeter(){
		return perimeter;
	}
	
	//mutators
	protected void setArea(double aArea){
		area=aArea;
		
	}
	
	protected void setPerimeter(double aPerimeter){
		perimeter=aPerimeter;
	
	}
	
	//abstract methods
	public abstract void updateArea();
	public abstract void updatePerimeter();
		

}
